package gadgetwars.server;
import com.google.appengine.api.datastore.Key; 

import javax.jdo.annotations.IdGeneratorStrategy; 
import javax.jdo.annotations.PersistenceCapable; 
import javax.jdo.annotations.Persistent; 
import javax.jdo.annotations.PrimaryKey; 

@PersistenceCapable
public class GadgetInfo {
	@PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Key key;
	@Persistent
	private String gadgetName;
	@Persistent
	private String amazonId;

	public Key getKey() {
		return key;
	}
	public String getGadgetName() {
		return gadgetName;
	}
	public void setGadgetName(String gadgetName) {
		this.gadgetName = gadgetName;
	}
	public String getAmazonId() {
		return amazonId;
	}
	public void setAmazonId(String amazonId) {
		this.amazonId = amazonId;
	}
	public GadgetInfo(String gadgetName, String amazonId) {
		super();
		this.gadgetName = gadgetName;
		this.amazonId = amazonId;
	}

}
